package gat.dto.res.log;

import com.bitsun.core.framwork.api.dto.IResponseDto;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

import java.time.LocalDateTime;

/**
 * 
 * @Author: yanshukeji-java
 * @Email: yanshukeji-java
 */
@Validated
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel
public class LogResDto implements IResponseDto{
    private static final long serialVersionUID = 1L;


/**
 * 主键 BIGINT
 */
@ApiModelProperty(value = "主键")
@JsonProperty(index = 0)

private Long id;
/**
 * 创建时间 TIMESTAMP
 */
@ApiModelProperty(value = "创建时间")
@JsonProperty(index = 30)
private LocalDateTime createTime;
/**
 * 创建者名称 VARCHAR
 */
@ApiModelProperty(value = "创建者名称")
@JsonProperty(index = 40)

private String createUserName;
/**
 * 创建者id BIGINT
 */
@ApiModelProperty(value = "创建者id")
@JsonProperty(index = 50)

private Long createUserId;
/**
 * 最新修改时间 TIMESTAMP
 */
@ApiModelProperty(value = "最新修改时间")
@JsonProperty(index = 60)
private LocalDateTime modifyTime;
/**
 * 最新修改者姓名 VARCHAR
 */
@ApiModelProperty(value = "最新修改者姓名")
@JsonProperty(index = 70)

private String modifyUserName;
/**
 * 最新修改者id BIGINT
 */
@ApiModelProperty(value = "最新修改者id")
@JsonProperty(index = 80)

private Long modifyUserId;
/**
 * 用户编号 VARCHAR
 */
@ApiModelProperty(value = "用户编号")
@JsonProperty(index = 100)

private String userCode;
/**
 * 用户手机号 VARCHAR
 */
@ApiModelProperty(value = "用户手机号")
@JsonProperty(index = 110)

private String phone;
/**
 * 用户名称 VARCHAR
 */
@ApiModelProperty(value = "用户名称")
@JsonProperty(index = 120)

private String username;
/**
 * 用户昵称 VARCHAR
 */
@ApiModelProperty(value = "用户昵称")
@JsonProperty(index = 130)

private String nickname;
/**
 * 描述 TEXT
 */
@ApiModelProperty(value = "描述")
@JsonProperty(index = 140)

private String description;
/**
 * 方法名 VARCHAR
 */
@ApiModelProperty(value = "方法名")
@JsonProperty(index = 150)

private String method;
/**
 * 参数 TEXT
 */
@ApiModelProperty(value = "参数")
@JsonProperty(index = 160)

private String params;
/**
 *  INT
 */
@ApiModelProperty(value = "")
@JsonProperty(index = 170)

private Integer type;
/**
 * 日志类型 VARCHAR
 */
@ApiModelProperty(value = "日志类型")
@JsonProperty(index = 180)

private String logType;
/**
 * 请求ip VARCHAR
 */
@ApiModelProperty(value = "请求ip")
@JsonProperty(index = 190)

private String requestIp;
/**
 * 地址 VARCHAR
 */
@ApiModelProperty(value = "地址")
@JsonProperty(index = 200)

private String address;
/**
 * 浏览器 VARCHAR
 */
@ApiModelProperty(value = "浏览器")
@JsonProperty(index = 210)

private String brower;
/**
 * 请求耗时 INT
 */
@ApiModelProperty(value = "请求耗时")
@JsonProperty(index = 220)

private Long time;
/**
 * 异常详情 TEXT
 */
@ApiModelProperty(value = "异常详情")
@JsonProperty(index = 230)

private String exceptionDetail;



}






